﻿using MediatR;
using RedDragon.Common.Dtos;
using SqlSugar;
using T.Common.Domain.Common;

namespace RedDragon.ERP.API.Application.Commands.Proccess
{
    /// <summary>
    /// 获取工艺路线条件
    /// </summary>
    public class SearchProcessRouteCommand : IRequest<Result<PageResultDto<ProcessRouteDtos>>>
    {
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 每页显示几条
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 工艺编码
        /// </summary>
        public string? ProcessRouteNo { get; set; }

        /// <summary>
        /// 工艺名称
        /// </summary>
        public string? ProcessRouteName { get; set; }

        /// <summary>
        /// 物流
        /// </summary>
        public int MaterialId { get; set; }

        /// <summary>
        /// 状态 1-有效 2-无效
        /// </summary>
        public int ProcessStatus { get; set; }
    }
}
